<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>BOOST_OUTCOME_THREAD_LOCAL - Boost.Outcome documentation</title>
<link rel="stylesheet" href="../../css/boost.css" type="text/css">
<meta name="generator" content="Hugo 0.52 with Boostdoc theme">
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>

<link rel="icon" href="../../images/favicon.ico" type="image/ico"/>
<body><div class="spirit-nav">
<a accesskey="p" href="../../reference/macros/symbol_visible.html"><img src="../../images/prev.png" alt="Prev"></a>
    <a accesskey="u" href="../../reference/macros.html"><img src="../../images/up.png" alt="Up"></a>
    <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/macros/throw_exception.html"><img src="../../images/next.png" alt="Next"></a></div><div id="content">
  <div class="titlepage"><div><div><h1 style="clear: both"><code>BOOST_OUTCOME_THREAD_LOCAL</code></h1></div></div></div>
  <p>Compiler-specific markup used to mark variables as having thread local storage duration.</p>

<div class="notices note" style="background: url('../../images/note.png') top left no-repeat padding-box padding-box;">
<div class="notices heading">note</div>
<div class="notices message"><p>This isn&rsquo;t used inside Outcome, but is used by its unit test suite.</p>
</div>
</div>


<p><em>Overridable</em>: Define before inclusion.</p>

<p><em>Default</em>: To <code>thread_local</code> if the compiler implements C++ 11 <code>thread_local</code>, else <code>__thread</code> for the one supported compiler (older Mac OS XCode) which does not.</p>

<p><em>Header</em>: <code>&lt;boost/outcome/config.hpp&gt;</code></p>


        </div><p><small>Last revised: December 12, 2018 at 22:01:42 UTC</small></p>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../../reference/macros/symbol_visible.html"><img src="../../images/prev.png" alt="Prev"></a>
    <a accesskey="u" href="../../reference/macros.html"><img src="../../images/up.png" alt="Up"></a>
    <a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="../../reference/macros/throw_exception.html"><img src="../../images/next.png" alt="Next"></a></div></body>
</html>
